<table>
    <thead>
        <tr>
            <g:sortableColumn property="id" title="${message(code: 'shiro.user.id.label', default: 'Id')}" />
            <g:sortableColumn property="username" title="${message(code: 'shiro.user.username.label', default: 'Username')}" />
            <g:sortableColumn property="passwordHash" title="${message(code: 'shiro.user.passwordHash.label', default: 'Password Hash')}" />
        </tr>
    </thead>
    <tbody>
    <g:each in="${userInstanceList}" status="i" var="userInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
            <td><g:link action="show" id="${userInstance.id}">${fieldValue(bean: userInstance, field: "id")}</g:link></td>
            <td>${fieldValue(bean: userInstance, field: "username")}</td>
            <td>${fieldValue(bean: userInstance, field: "passwordHash")}</td>
        </tr>
    </g:each>
    </tbody>
</table>